package com.api.oa.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class YQInsEntityVO {


    private String insName; //'机构名称',
    private String insCode; //'机构编码：（主键，作为登陆账号）',
    private Integer careType;//'护理类型[0 长护(家护)、1长护(院护)、2 长护(全部)、3社区、4医院、5医保]',
    private String contacts; //'联系人：字符串',
    private String fixedPhone;// '联系方式（固话）',
    private String mobilePhone;//'联系方式（手机）：',
    private String insAddress;//'机构地址',
    private Double lat;// '经度',
    private Double lng;// '纬度',
    private String shopImage;// '门店照片',
    private String districtRouter;// '地址路由',
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;//'营业时间',
    private String insInfo;// '机构简介',
    private Integer disabled;// '禁用'  0启用 1禁用,
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;//'创建时间',
    private Long userId;

    private Integer medTotal;
    private Integer nurTotal;
    private Integer careTotal;
    private Integer patientTotal;

    private String orgName; //所属分类

    @Override
    public String toString() {
        return "YQInsEntity{" +
                "insName='" + insName + '\'' +
                ", insCode='" + insCode + '\'' +
                ", careType='" + careType + '\'' +
                ", contacts='" + contacts + '\'' +
                ", fixedPhone='" + fixedPhone + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", insAddress='" + insAddress + '\'' +
                ", lat=" + lat +
                ", lng=" + lng +
                ", shopImage='" + shopImage + '\'' +
                ", openTime=" + openTime +
                ", insInfo='" + insInfo + '\'' +
                ", disabled=" + disabled +
                ", createdAt=" + createdAt +
                '}';
    }
}
